package com.design.patterns.creativeModel.adapter.service.Impl;

import com.design.patterns.creativeModel.adapter.service.HighSchool;
import com.design.patterns.creativeModel.adapter.service.Teacher;

public class HighSchoolImpl implements HighSchool {
    @Override
    public String haveaclass(Teacher teacher) {
        return teacher.lecture();
    }
}
